assignment 2 for exploratory data analysis