Closes #8. Use fork() to calculate median and mode with child process