Added a main() method to pdp8.py