P01 and P02

first version. will add tests and additional solutions later.