Hello AngryCrow,

Before getting to the problem of this code, there are some posting good-practices you will want to consider:

1. If you are going to post code put it between the
tags (minus...