function machine
input = x (7)-8 output =y