Remove fromList for performance
Fix a bias problem
Use pattern match
Merge pull request #9 from swtw7466/fromlist-performance

fromList を自力実装する