Added one unit test to equilateral encoding
Initial version of scala port