Organized source code of Teacher program and updated doxygen files. Also added a new output script.