reimplemented pla on hw1 and started hw2