Add comments, calculate things

Prior to this commit there were no comments and we weren't
calculating things like mean and median. Now there are comments
AND handy calculations which are printed to the console.