Moved ternary logic stuff to to-do directory