A finite volume method for the simulation of elastoviscoplastic flows and its application to the lid-driven cavity case