Add simple reshuffle button

Wrap loops in functions and make it possible to reshuffle the whole board.

Adds a simple reshuffle button: 

![screen shot 2014-05-22 at 11 16 25](https://cloud.githubusercontent.com/assets/938453/3049470/8dc523b8-e15f-11e3-8c61-2415d61287ab.png)