all test have been implemented, source cleaned up slightly, and readme  updated.