Script to median combine images

functions:
main
sort
array_list
median_fits
new_headercard

This script should median combine a set of images in a directory, save
it to a new file name and allow you to add cards to the header.