bones to bananas/peaches full implementation (from scratch)