Making simple Snake game with java using Eclipse IDE