Comp logic assignment 12, 13

Change-Id: I9861a1ecb2ac5f511763afd24cfc4345593fff7a
Signed-off-by: Parth Satra <pasatra@ncsu.edu>