This is the first programming assignment from Princeton Algorithms II class online