Removed odd number exception, created illegalsequenceexception. added additional unit tests to cover illegal sequences