formatted strings to have $ sign and spaces to line up. Also refactored the way rows are calculated for all tables to use lists. makes it more efficient and easier to read, but importantly more accurate as all use bigdecimal now now int or biginteger as previously some where. All round to big integer at the end so can be formatted and printed as whole numbers :)