int absoluteValue(int x)
{
  if(x >= 0) return x;
  else return -x;
}