Add flipcoin and rolldie functions.