Cleaned code. Updated folders. Working algorithms.