Wrote a cross product function