Alberto Rivera's Programming Assignment 2