Added rem_le() function

*** still buggy - read through comments for notes on things that need to be checked
*** the final print out needs some work.
Almost working, but still needs some cleaning up.