Python: Working on implementing the building of B.