map() and map() tests added.

Taken from https://github.com/arduino/Arduino/blob/master/core/methods/demo/PApplet.java#L3270
Mapping tile values correctly.

Using map() to allow a tile section to map values from 0 to 1 (odds) to the
correct values for the section position.