Added print function and enabled initiation/setting/use of variables.