Added lowerBound function to the stdlib

The lowerBound proc returns where you should insert into a sequence to keep it sorted.