Working bytecode generation, almost finished.