Update utils.cpp
Merge pull request #6 from ArnoVanKessel/patch-2

Update utils.cpp