public static int[][] houseItems(Direction side, int amount,int xLoc, int yLoc, int size)
    {
       int yOffSet = 0;
       int xOffSet = 0;      
       switch (side) {
           case UP:
               yOffSet = -(size * 20);
               break;
           case LEFT:
               xOffSet = -(size * 20);
               break; 
       }
       int[][] locs = new int [amount][2];
       int x;
       int y;
       for (int i = 0; i < amount; i++)
       {
           x = (int)(Math.random() * size) * 20;
           y = (int)(Math.random() * size) * 20;
           while (x == 0 || y == 0 || x == size *20 || y == size *20)
           {
               x = (int)(Math.random() * size) * 20;
               y = (int)(Math.random() * size) * 20;
           }
           locs[i][0] = x + xLoc + xOffSet;
           locs[i][1] = y + yLoc + yOffSet;              
       }
       return locs;
    }