Added Rectangle Function

You draw rectangle in  the chosen color, but there is a bug - when a new
rect is drawn with new color the previous rect change its color