java exercises for book written by sedgewick and wayne