Wrote method for generating areas
Wrote method for generating connections