Merge pull request #1 from bronanny/master

Rearrange and clean up, beginnings of tests.
PC is in words not bytes.
minor cleanup
Off-by-one error in size of RAM.
Handle negative numbers a little better.
Merge pull request #1 from PhoenixBureau/master

Get the latest goodness.