Write sum_list.py containing a function sum_list(nums: list[int]) -> int that returns the sum of all elements. Include a simple test under if __name__ == '__main__'.
