Added feature for adding incremental numbers in rectangle