added main.java and player.java