Fix Costas Array Problem bug costOnVariable