added fns for teachers/subjects, class diagrams

->functions for adding preferred subjects of teachers from database were
added
->added class diagram and mysql table structure