Added setIcon() function to the Marker class