allow to buy from full chest if there will be enough space

add input into chest after output has been removed
Merge pull request #16 from gipsy-king/fullChests

allow to buy from full chest if there will be enough space
Merge pull request #1 from ttk2/master

newest