#include "mine.h"

/* Function: dist 
   Returns the absolute value of x - y.
*/
int dist (int x, int y) {
   int distance ;

   distance = x - y ;
   if (distance < 0) {
      return (- distance) ;
   } else {
      return (distance) ;
   }
}
