Added procedure to project 2.
Added Boolean function and return output for proect 2.