Added a rotate function and reverted my changes on print board.