added flow chart for basic bouncing ball