R Hackerrank Solutions Basic Statistics