A cpu simulator written in pure standard lib python