exercises from various java instructionals