remove onepage.tex from makefile
updates to longhair
Added an encode function for Reed-Solomon coding

It also gets tested. Unfortunately, gcc weirds out a bit when running
`make test`, so the cflags uses an absolute path instead of a relative
path. I'm looking for a fix.