Introduction to Computational Nanomechanics