University assignment -- log parsing