Added funcionality to divide single image in half