Coded Slotted ALOHA: A Graph-Based Method for Uncoordinated Multiple Access