building out input

using a 2d array for this, which now I think is wrong
setting up environment