Fixed import order. Removed passing arguments to main and argument count check.
Replaced all open-close with with-as. Removed create_output and get_size.
filter.py : entropy is now calculated with base 2.
Performance issues have not been addressed for the reason of keeping the week1 performance realistic.