public static String makeGuess(String guess, Integer puzzleNumber) {
        String output;
        String input = guess;
        String puzzleNumberInput = puzzleNumber.toString();
        try {
            URL server = new URL(
                    "http://courses.csail.mit.edu/6.005/jotto.py?puzzle="
                            + puzzleNumberInput + "&guess=" + input);
            URLConnection serverConnection = server.openConnection();
            serverConnection.connect();
            BufferedReader received = new BufferedReader(new InputStreamReader(
                    serverConnection.getInputStream()));
            output = received.readLine();
        } catch (MalformedURLException e) {
            System.out.println("Malformed URL");
            e.printStackTrace();
            throw new RuntimeException("Malformed URL");
        } catch (IOException e) {
            System.out.println("Bad Connection");
            e.printStackTrace();
            throw new RuntimeException("Bad Connection");
        }
        return output;
    }