Fixed the Cnj function in Assignment 2.