Coding Bat Java practice