added logic gate changes from logic 101; still need to fix recipes
refactored lua code and object files