Made diff operation its own type.
changed x[0:y] to x[:y]
ran gofmt
Merge pull request #11 from goojba/go-style

Some small changes to the code for better Go style.