Finished pneumatics code.