First submission for ProgrammingAssignment2