Added debug function to print memory as hex
Added a main with some basic non-func command line UI