Lunarlander Implementation using pure JAVA