make notches on more than one side
hinges on as many sides as I want!
cleaned up code a bit