py assignment 3 and quickfix to entropy project