single position implementation

added a new solving algorithm