formated file and fixed some discrpencies
finished exercise 2 and assignment 4