Program works 90% ish, I will finish in a bit
Added functions to get the table values