Algorithms 2 final lab