generateMove: Removed unused code and sped up computation moved generate moves to player to increase speed