modifying <= to just <, changed all the unsigned int to unsigned long long