chord finding functionality implemented
minor bug fixes