Exercise that helped me practice basic Java programming