Sample program fixed; Readme updated