Implement string-based candlestick classifier | Robinhood Interview Question