DiscretePrimitives

Finished initial DiscretePrimitives.py