@Override
        public void run() {
            try{
                MathLogic mathLogic = new MathLogic();
                PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true);
                BufferedReader in =
                        new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
                String inputLine;

                while ((inputLine = in.readLine()) != null) {
                    if (inputLine.toLowerCase().equals("bye")){
                        break;
                    }
                    String[] spaceSplit = inputLine.split(" ");
                    int a = Integer.parseInt(spaceSplit[1]);
                    int b = Integer.parseInt(spaceSplit[2]);
                    String print = "";
                    if(spaceSplit[0].toLowerCase().equals("add")){
                        print = a + " + " + b + " = " + mathLogic.add(a,b);
                        out.println(print);
                    }
                    else if(spaceSplit[0].toLowerCase().equals("sub")){
                        print = a + " - " + b + " = " + mathLogic.subtract(a,b);
                        out.println(print);
                    }
                    System.out.println(print + " sent to Client");
                }

                out.close();
                in.close();
                clientSocket.close();
            }
            catch (IOException e) {
                System.out.println("Accept failed: 4444");
                System.exit(-1);
            }
        }