generate snake head position randomly