Added PsuedoCode for Player