Created methods swap_small, find_sum_2, and find_sum_3