Code verified for submisson

Hong's programming assignment 2 on 7-26 12:54pm