commit a solution for DecodeWays