Why did you think to solve this problem using a list?