Implemented search of photos and tags (last extra credit from Assignment VI)