R Course - Assignment 2

Part 1-4 of assignment 2 + data