code challenge for opus interview