model.js: displayTop checks the value we give to it.
A top cannot be negative nor larger than the total number of (real) clones. We add a function telling the number of real clones (for the moment length of the array minus one due to the 'other' clone). Unit tests added
Showing with 24 additions and 0 deletions