Add constraint.py
Next: Add constraints to force-directed layout