my answers to CCI150v5 in Java