Coding Bat Exercises in one class