updated sampledata.sql to 29 files. added more rigourous checks to isnumber(). broke program into smaller functions.