Add 3sum implementation
Add ls(1) and tail(1).