add swp files to gitignore
updated relational_operator_switch function
relational_operator_swtich tests