Fixed bug in assignment task for unique array