Updated formatting to make the sol'n easier to read.  Also changed Int64 to Int16 (Int64 isn't necessary here as we're dealing w/ individual ints < 10)