Implemented std::signum

signum(int i) =
{ 0 if i=0
{ -1 if i<0
{ 1 if i>0
Basically:
signum(-512)=-1
signum(512)=1
signum(0)=0