Basic random coin implementation