Pseudcode and first bit of python