add size of array as argument to average and stdev to be able to return out of bounds error and return DBL_MAX
add implementation of the functions in sequence.h in the file sequence.c