Create Ghazal.algorithm for formulas

I put it in my profile also last night