@Override
        public void run() {
            try {
                
                System.out.println( "Client has connected" );
                
                if( client_num == FIRST_CLIENT ) {
                    
                    serverLock.lock();

                    try {
                        while( suspended ) {
                            waitingForConnection.await();
                        }
                    } catch( InterruptedException e ) {
                        e.printStackTrace();
                    } finally {
                        serverLock.unlock();
                    }
                }

                userName = input.nextLine();
                
                while ( true ) {

                    if ( input.hasNext() ) {
                        String morse = input.nextLine();
                        morse = userName + ": " + morse;
                        
                        if ( input.hasNext() ) {
                            String message = input.nextLine();
                            message = userName + ": " + message;

                            if( client_num == FIRST_CLIENT ) {
                                clients[ SECOND_CLIENT ].output.println( morse );
                                clients[ SECOND_CLIENT ].output.println( message );
                                clients[ SECOND_CLIENT ].output.flush();
                            }
                            else {
                                clients[ FIRST_CLIENT ].output.println( morse );
                                clients[ FIRST_CLIENT ].output.println( message );
                                clients[ FIRST_CLIENT ].output.flush();
                            }
                        }
                    }
                }
            } finally {
                try {
                    connection.close();
                }catch( IOException e ) {
                    e.printStackTrace();
                    System.exit( 1 );
                }
            } 
        }