Indices Assignment - Mastermind