creating player.java