updated control flow readme
updated readme
added java class for control flow