created an algorithm for the maze

maze rotation separated from the background rotation
need to find a way to scroll the maze separate from the background