add algs4 programming assignment 1