added decoding test and changed encoding
more changed to decoding and encoding
Sample Runs
finishing up some final work