Clear and Pop_back

Added clear and pop_back functions to lexicography.