Added support for right sections
Implemented core infix alg