added python spike code used to control c3pi