practice building data-structures and writing algorithms in objective-c