finished largest continuous sum implementation