CSG1132 A2: fixed close_friends xaxis limit
CSG1132 A2: cleaning up r-code, check close_friends for example