A Chou Fasman algorithm implementation in Python