Stanford Algorithms Implemented in Objective C