Changed main

Added a dynamic piece creation method. Piece are created in order and
with correct bounding boxes. Still a bug on collisions and on a new
piece creation. and moving thru walls .