Good I thought, but a bit confusing.

Anybody seen this and work out how it ALL links together?? Specifically how the end of the film links to the beginning of the film, whilst keeping the whole film still making sense. (If that makes sense!!!)

Got 81% on Rotten Tomatoes, so worth a watch I'd say.