Use BoxMesh(), see here:
https://fenicsproject.org/olddocs/dolfin/1.5.0/python/demo/documented/built-in_meshes/python/documentation.html