Programming assigments for Coursera.org Algorithms, Part I, done in Java