Most of lab 5 implemented with running instructions