First  Code

Got the idea down (doesn't work yet)