I\'ve been trying to create a diamond pattern with the number of rows being input by the user but I have only managed to create a half diamond with one star missing and then