Statistical mechanics with applications to materials science (2018-2019)