Added the Player Java file

This is the Player object Java file.