removed unnecessary code

unused library and print statements for debug purposes removed