Create LinkedNode class instead of using NSArray