Start of homework0. finished sum functions