Assignment from my constraint programming class