Updated main code to make it easier to loop over images
Updated main code to make it easier to loop over images

dlfryar/mbed-cloud-k64f-example,dlfryar/mbed-cloud-k64f-example,dlfryar/mbed-cloud-k64f-example,dlfryar/mbed-cloud-k64f-example