Added edit action and view
Added update action
generated subject model and added needed realtions with proffesor(teacher)