JSON written
Changed JSON to arrays for ease of use
JSON passing successfully
Created functions that return arrays, used while loop
Most functions working