Python library for simulating dice mechanics