initial centipede code (#10), better grid layout