Added IN/OUT and Memory. Doesn't run yet though.
Made everything run through simulation.