Added createDataFrame method. Need to implement createBarChart method.