Update shape.lua

-Added beginnings of file backend
-added "resume" function
-added simulation flags and mechanics
-began adding required method calls to the basic movement/block place functions