Update main.cpp

updates to Hash