Refactor

- Move readSig to sig.go
- Add full test for signature
Move to a working version
Add example program