Second programming assignment for simulating dice rolls