added first implementation of lab06a