added exercises connecting java to html for functionality