created student and teacher classes with first methods.