Various Exercises from Ch 1

Some Ch 1 exercises from Sedgewick and Wayne Java Programming text