Exercises from Sedgewick and Wayne's Java Programming Text