Added a check to see if the space is already occupied so that players can't cheat