Comments added to main and N-queens part