Homework 3: Dead code removed, sample input data are uncommented