First Commit

It's working but still bugs.
Both Linux and Windows tested
Empty list pop fix