Fixed move error checking. It now loops until you make a valid move.