Fixed Bugs in Project1 and started Project2

Fixed writing/reading files in the wrong order