Added function that combines multiple images to pdf