first attempt at python