Finished exercise calculations. Refactored util class.