Tail Map and Sub Map without Testing

No testing has been done on either of these. I'm pretty sure that subMap will work. I'm pretty sure tailMap will break somewhere.