code for grow and divide almost done. Will complete during weekend