added studentCivil and implemented main function