Index bug fixed, no need to resize index.
Forgotten files added. Main began with a simple testlike usage.
A simple example showing that this is good path.