Makefile now working. Main updated to remove debugging outputs.