Example on how to work with sqlite database in iOS