Implemented building literals from the bound tree.

Bug: #47, #35