ProgrammingAssignment2

Completed assignment for coursera.