implemented < (mostly)

except for <.f which is hard to test