Celokupno idejno rešenje možete pogledati OVDE.