Solution for the Course Project 1 of exdata-002.