initial commit of naive version that will take approximately forever to
run