Moved NextStep class into a companion object.
Added a double-weight semiring.
First draft of a MostProbablePath Semiring