implemented a tesalating rectangle pattern, rather than hexagonal pattern.