integrated algorithm with iOS app
finished integrating algorithm with iOS app