Assignment 1 for Cuncurrent programming