Introduction to discrete element methods