Merge pull request #1 from Akavall/master

Sync with master
Made dice be more generic by adding struct for sides
Merge pull request #4 from a-temlyakov/master

Made dice be more generic by adding struct for sides