Factoring Using Greatest Common Monomial Factor