Implemented move to move things towards the direction, as the name of the function suggests