First iteration -- publishing cartesian algorithm in Python