Partway done rectangle generation

Still need to add name implementation and duplicate checking.