init commit: gets median from a list.
init commit: grabs qval as dictionary.