Add HW5 #1 solution