Object Orientated Programming assignment1