first commit of pa2 module 3 weighted values