Finished move function

The huge amount of additions/subtractions is cause I messed with the
indentation in IDLE