here i will put couple of php scripts to solve some tricks for algorithms in php