Implemented simple shell to accept echo, run_memtest and exit command in memeater.