Final Project (all algorithms working)