Update my class woth your observations.

Update documentation, variable names instead of s and d by (square and digit), change to camelcase standard in variables names, add spaces after commas.