homework for HDFS unit