Work with arrays to lab7

Mostly just js scripts, lab7 craps game is a full module with html page.