Finished BASIC hammer mill implementation