Created dot utility to programmatically create coloured dots