Initial implementation of Lab 3