Added solution to Programming Assignment #6