Implementation of the 'select' relational algebra operation, the input to the program is given similar to the SQL select