Fix Stackedbar chart and add toString methods in StackedbarChart and BarChart classes