Update lottery.html

Completed the compareArrays() method