First Working Version

First Working Code (Theory) however causes internal server error…
Checking out with since guys soon!