Cover a roasting tray or cooking sheet with parchment paper, or a silicon baking mat. Pulse the coconut flakes in a food processor until finely ground, scraping down the sides as needed. In a separate bowl combine the coconut milk, melted coconut oil, maple syrup, and both extracts. Stir to combine. Add this mixture to the bowl of the food processor with the ground coconut and mix well. Process until smooth and almost like a paste. Using your hands, shape the mixture into rounds about an inch or so in thickness. Place on the prepared tray and put into the freeze for at least 30 minutes to solidify.