Changed ifstream file
Initialized max/mins