Edited original file with solution to Programming Assignment 2