Revert "Revert "polaczenie i przyklady photon""

This reverts commit b1d0abad77b65b4d9dd71519a91b62a6ddc3fb9a.