Pay Check Table using arrays