Create README.md
Update Beast.java

Updated with a much simpler algorithm.
Merge pull request #1 from Pulkit07/master

Created Readme file and improved one algorithm.