Create a function similar to Processing's "map" function, in which a value and its range is taken and remapped to a new range.
The function takes 5 numbers:
valuelow1 and high1low2 and high2remap(7, 2, 12, 0, 100) ➞ 50
remap(17, 5, 55, 100, 30) ➞ 83.2
remap(50, 1, 51, 0, 100) ➞ 98
0, return 0.