Homework #1 Data structure & algorithm