Player class created and player related code moved in it, earlier it was
in JTank class.