Creating fractions with pattern blocks