Added function to get moves for a player

Added a function to find the valid moves for a specific player