Got blocks on top and bottom and refactored the move function to be two separate functions to make it more readable