Fixed the AI so it returns valid moves

Hey I think I fixed it.....