renamed file
added cleaner version ; added algorithms at top of files ; updated readme accordingly