Afegir sessions 1, 2 del lab de fenòmens

A la sessió 1 falta completar l'exercici extra.

Change-Id: I76f9a74f7648b77c3c60ac91cc4a29477386f383
diff --git a/quad10/fenomens/lab/p2/magne.f90 b/quad10/fenomens/lab/p2/magne.f90
new file mode 100644
index 0000000..0e7df92
--- /dev/null
+++ b/quad10/fenomens/lab/p2/magne.f90
@@ -0,0 +1,17 @@
+real*8 function MAGNE(S, L)
+  implicit none
+  integer*4, intent(in) :: L
+  integer*2, intent(out) :: S(1:L,1:L)
+  integer*4 :: i, j
+  real*8 :: mag
+  mag = 0d0
+
+  do i = 1, L
+    do j = 1, L
+      mag = mag + S(i, j)
+    enddo
+  enddo
+
+  magne = mag
+  return
+end function MAGNE