Random selection of code written while learning Hadoop