Programming Assignment 2 (R Programming) - documentation rewritten