This clever algorithm will help you find your perfect lipstick shade