Flower function written and screenshot added