attempts at oop

what am i doing