Python (Consensus)

Finished v1 of the transcription of consensus from R to Python