refactoring shape.
added Rectangle and Stairs shape
added debug better debug output