catch exception that could occur if you passed a non integer to the move prompt