Resolved Issue #2 - Added mean function to mm.c
Added exit(1) when memory cannot be allocated
Resolved Issue #3 - added function to find the median. Edited mean function, for statement was incorrectly written, and function now returns double.