solutions(java) for cp-3 book by halim.