Altered PointMass and Spring classes to use only pointers when referncing each others types.