Adding ternary instructions option to UCD compiler
This merge request moves the code that generates UCD sequences from the UCD compiler to both Binary CC Compiler and Ternary CC Compiler.
I also added some tests for both binary and ternary instructions. Please let me know if I need to change something. Thanks!