Implemented encodeByte for given vector of x (xs), and wrote a test. refs #5
cleanup
Merge branch '#5-EncodeByteUsingPredefinedX's'