Added modulo. [Group 12]

New function added.
public double mod(double x, double y)