Self-organizing Environmentally-adaptive Shapes on a Modular Robot