3460:635 Algorithms project 2