An agent-based and FE approach to simulate cell jamming and collective motion in epithelial layers