Making a java snake game using awt and swing.