My code while taking an online course on big data