added my attempt at hw8