public static int addPlayer(String name) throws ClassNotFoundException, SQLException{
        String query = "Insert into player Values('"+name+"')";
        Connection con = DBConnection.getConnectionToDB();
        return DBHandler.setData(con, query);
    }