finishing square sum. closes #130