fixed logic and added comments to YourCustomers

The logic in calculateRecommendations() was such that it prevented the
second if statement from executing if the first was not executed. There
were some brackets in the wrong place.

Also added some comments to make this code more easily understandable.