WIP: Compiler and Selector

Initial version of a compiler.
for instead of foreach