Simple little program to implement classes