Fixing the applyMove method
blah