Code sample for M-Go interview