Added a solution to homework 1 using pandas