Implement a function to find the maximum sum of a subarray of size K.
Use def max_subarray_sum(nums, k):; return one integer representing the greatest sum of any contiguous window containing exactly k elements. Assume nums contains at least k integers and 1 <= k <= len(nums).
def max_subarray_sum(nums, k):