24 game/solve implementation

Added implementation for 24_game/solve. Feedback welcome!