first version of assignment2 exploratory data analysis