Commit 11

Added constraints to problem 2