Finished assignment 4, added solutions for 3 and 1