new method

created new method objCreate and changed parameters to make a diamond.