* Changes std::stoi to atoi as gcc does not support it on windows platform