Made generateX and Y methods private.
Restructured selections divs.