Update databaseCommunicator.php

Added select_all function