Missing comma
Missing comma.
Mistakes in naming.
Added a bell-sound when it finishes.
Another step towards generalizing the layers.
Added a simple assertion function.
Added check for array.