minor changes on the algorithm. report complete. still need the code listing and code cleanup