public void Click(Location loc)
  {
    if(ib.GetStart() == null)
    {
      ib.SetPiece(loc);
      ib.SetStart(loc);
    }else
    {
      if(IsBasicMove(loc))
      {
        if(loc.equals(ib.GetPiece()))
        {
          MakeMove(loc);
        }else
        {
          ib.SetPiece(loc);
          Move(loc);
        }
        //ib.SetPiece(loc);
       // Move(loc);
        //MakeMove(loc);
        //ib.ResetInteraction();
      }
      if(loc.equals(ib.GetPiece()))
        {
          MakeMove(loc);
        }
      if(IsValidMove(loc))
      {
        if(ib.GetPiece().equals(ib.GetStart()))
        {
          ib.AddRemoved(FindJumpedPiece(ib.GetPiece(), loc));
          ib.SetPiece(loc);
        }else
        {
          ib.AddRemoved(FindJumpedPiece(ib.GetPiece(), loc));
          ib.SetPiece(loc);
          ib.AddPath(ib.GetPiece());
        }
        
      }
    }
    //ib.ResetInteraction();
  }