now returning -1 for non existent indexes
removed unused function
Merge branch 'develop' of github.com:iToto/MEMEme into develop