Testing code

Added unit tests, fixed a bug that generated incorrect values in
Die.roll, updated file structure.