Created SerpentTest.cpp which matches the reference implementation on one test input. Haven't tested it on others yet. Uses bitsets to hold state and has a number of helper functions to simplify testing.