added a button for clearing the screen
extracted the L-systems related logic into a separate class