Create takePhotos.cpp