fix error in makeValidMove

check if token is free before trying to unlock in makeValidMove