Initial commit of ProgrammingAssignment2 fork. Functions tested and working according to instructions