Box It Solution Hackerrank Python Challenges