fleshed out commit.go with verifiy and newCommit