Scala experimentation of the algorithms in Indras Pearls by David Mumford, Caroline Series and David Wright