Framework for digit by digit calc
Partial algorithm for finding x and y