public boolean setBothParameter(String value,String value2)
        {
            if(type[0]!=null)
            {
              try
              {

                      if(type[0].equals("int"))
                      {
                        number[0]=Integer.parseInt(value);
                      }else if(type[0].equals("string"))
                      {
                        characters[0]=value;
                      }else if(type[0].equals("bool"))
                      {
                        booleans[0]=Boolean.parseBoolean(value);
                      }

                          if(type[1].equals("int"))
                      {
                        number[1]=Integer.parseInt(value2);
                      }else if(type[1].equals("string"))
                      {
                        characters[1]=value2;
                      }else if(type[1].equals("bool"))
                      {
                        booleans[1]=Boolean.parseBoolean(value2);
                      }
                      return true;
              }catch(Exception e)
              {
                        System.out.println("Wrong set of characters");
              }

            }
            return false;
    }