Fix bug in bigInt creation

big refactor too
fix pointer bug, update gitignore