Green Poo!?!

I am 5 weeks 2 days and I am now having constant cramping today after they went away a fee days ago. I have also noticed my poo is green in colour and I have terrible gas. Is this normal?