Merged and adjusted createFamily / createBigFamily

Merged createFamily and createBigFamily into one function with an optional dimensions parameter; default value is 2. Adjusted the function to not create a .children property on leaf nodes