LogRhythm coding exercise